solving rational inequalities-algebraically